package com.zht.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "aliyun-oss")
@Configuration
@Component
public class OssConfig {
    private String endPoint;
    private String bucket;
    private String accessKey;
    private String secretKey;
    private String dir;
}
